package com.liao.service;

import com.liao.bean.Money;
import com.liao.bean.result.PageResult;

public interface MoneyService {
    /**
     * 根据账号模糊查询会员列表
     * @param currentPage
     * @param pageSize
     * @param userId
     * @return
     * @throws Exception
     */
    PageResult<Money> queryMoneyListByPage(Integer currentPage, Integer pageSize, String userId) throws Exception;

    /**
     * 添加会员
     * @param money
     * @throws Exception
     */
    void addMoney(Money money) throws Exception;

    /**
     * 修改会员
     * @param money
     * @throws Exception
     */
    void editMoney(Money money) throws Exception;

    /**
     * 根据id删除会员
     * @param umId
     * @throws Exception
     */
    void deleteMoney(String umId) throws Exception;
}
